Automation Events

TimeAutomationServer.bpg is a project group containing TimeAutomationClient.dpr and TimeAutomationServer.dpr. These are an Automation client and server application respectively. The server application has properties to extract the current date and time. It also has methods to set and cancel an alarm. When the alarm triggers, the server fires an event that is picked up by the client, where an event handler is fired.

Delphi 4 has an example of handling Word 97's events in DEMOS\ACTIVEX\OLEAUTO\WORD8